// Rectangle.h: interface for the Rectangle class.
//
//////////////////////////////////////////////////////////////////////

#ifndef __RECTANGLE_H__
#define __RECTANGLE_H__

#include "Shape.h"

class Rectangle
{
public:
    Rectangle(double length, double width);
    double getArea() const;
    double getPerimeter() const;
    double length_m;
    double width_m;
    virtual void reset(const Rectangle& other);

private:
    virtual bool isValid() const;
	
};

#endif

